package com.bskj.kuaifu.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.DispatcherServlet;

public class MyMvcServlet extends DispatcherServlet{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6824065056286402323L;

	protected void doService(HttpServletRequest request, HttpServletResponse response) throws Exception {
		response.setHeader("Access-Control-Allow-Origin", "*");
		response.setHeader("Cache-Control", "no-cache");
		super.doService(request, response);
	}
}
